package com.app.service;

import com.app.model.RecruitModel;
import com.app.vo.RecruitModelVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Map;

public interface RecruitService {

    //查询所有招工用工
    RecruitModelVo getRecruitList(Integer page, Integer limit);

    void insert(RecruitModel recruitModel);

    void update(RecruitModel recruitModel);

    Map<String, Object> listByPage(Integer page, Integer limit, QueryWrapper<RecruitModel> queryWrapper);

    void del(Integer id);

    RecruitModel getRecruitById(Integer id);

}
